package com.wenjie.springbootbugdetection.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author Yang wenjie
 * @date 2021/7/6 16:25
 * Nice to Meet you!
 */
@Controller
public class IndexController {
    @RequestMapping(value="/")
    public String userLogin(){
        return "index";
    }

    @RequestMapping(value = "/admin")
    public String adminLogin(){
        return "index1.html";
    }
}
